package com.wp.design.create.factorySet.simpleFactory;

import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class Test {
	@org.junit.Test
	public void simpleFactory(){
		Video video= SimpleFactory.createVideo(PhytonVideo.class);
		video.produce();

		video = SimpleFactory.createVideo("java");
		video.produce();
	}
}
